import {ActivityStatus} from "../activity-filter/activity-filter.model";

export enum TrackStatus {
    //未跟进
    notFollow = 1,
    //已拨打
    contacted,
    //未接通
    notContacted,
    //客户不感兴趣
    notInterested,
    //待回电
    waitCallback,
    //已面谈
    overInterview,
    //已打印计划
    overPrint,
    //已完成
    complete
}

export enum AddStaffTrack {
    //未跟进
    notFollow = 100,
    //跟进中
    process= 101,
    //暂不跟进
    notIntend = 102
}

export class ActivityItem {
    id: number;
    name: string;
    status: ActivityStatus;
    time: number;
    takeTime: number;
    trackStatus: TrackStatus | AddStaffTrack;
    level: number;
}

export enum Sex {
    male = 'M',
    female = 'F',
    other = ''
}

export class RosterItem {
    id: number;
    name: number;
    sex: Sex;
    age: number;
    tel: number;
    activitys: Array<ActivityItem>;
}
